package com.unalm.examensustitutorio.service;

import java.util.List;

import com.unalm.examensustitutorio.dao.DAOFactory;
import com.unalm.examensustitutorio.dao.IDAula;
import com.unalm.examensustitutorio.util.entity.EAula;



public class SAula implements ISAula{
	
	private IDAula idAula;
	private DAOFactory fabrica = null;
	
	public SAula(int i) {
		fabrica = DAOFactory.getDAOFactory(i);
		this.idAula = (IDAula) fabrica.getAula();
	}

	@Override
	public List<EAula> listarAulas() {
		// TODO Auto-generated method stub
		return idAula.listarAulas();
	}
	
	

}
